{extends file="./main.tpl"}
{block name=head}
<style>
  .loanFont
    {
      font-size:15px;
    }	
</style>
{/block}
{block name=body}
<center><h1 style="font-size:20px;">Opening Balance</h1></center>
<form name="openingForm" action="{$smarty.server.PHP_SELF}" method="post">
  <table class="loanFont" align="center">
    <tr>
      <th align="right" align="right"> Date :</th>
      <td>{html_select_date prefix='curDate' field_order="DmY" month_format="%m" start_year='-5' end_year='+5' time=$today|date_format:"%d-%m-%Y"}</td>
    </tr>
    <tr>
      <th align="right"> Opening Balance :</th>
      <td><input type="text" name="openingBalanceTxt" size="26" autofocus="autofocus"></td>
    </tr>
    <tr>
      <th align="right">Note :</th>
      <td><textarea rows="7" name="openingNoteTxt"></textarea></td>
    </tr>
    <tr>
      <td colspan="2"><input type="submit" name="submitOpening" value="Submit"></td>
    </tr>
  </table>
</form>
{/block}
